package com.fs.base.vo;

import java.util.ArrayList;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class EasyFormItem {
	private String value;
	private String text;
	
	public static List<EasyFormItem> formItems(){
		List<EasyFormItem> list = new ArrayList<EasyFormItem>();
		//text,textarea,checkbox,numberbox,validatebox,datebox,combobox,combotree 
		list.add(new EasyFormItem("password", "密码输入"));
		list.add(new EasyFormItem("text", "text输入"));
		list.add(new EasyFormItem("textarea", "textarea输入"));
		list.add(new EasyFormItem("combobox", "单选下拉输入"));
		list.add(new EasyFormItem("comboboxM", "复选输入框"));
		list.add(new EasyFormItem("numberbox", "数值输入"));
		list.add(new EasyFormItem("validatebox", "验证输入"));
		list.add(new EasyFormItem("datebox", "时间输入"));
		list.add(new EasyFormItem("combotree", "树形输入"));
		list.add(new EasyFormItem("filebox", "文件上传输入框"));
		return list;
	}
}
